package UseCollection.UseList.List01;

import java.util.List;

public class FixedList {
    public static void main(String[] args) {
        // 如何创建不可变List,只能查看
        List<String> list = List.of("1", "hao");
        System.out.println(list);

    }
}
